package net.kindroid.fm;

import android.net.Uri;
import android.provider.BaseColumns;

public class FMInfo
{
	/**
	 * access fm authority
	 * 
	 * @author tanlp
	 */
	public static final String AUTHORITY = "net.kindroid.provider.fm_list";

	/**
	 * database version
	 * 
	 * @author tanlp
	 */
	public static final int DATABASE_VERSION = 1;

	/**
	 * database name
	 * 
	 * @author tanlp
	 */
	public static final String DATABASE_NAME = "fm.db";

	/**
	 * table name
	 * 
	 * @author tanlp
	 */
	public static final String TABLE_FM = "FMTable";

	/**
	 * this inner class have all information of the table fm
	 * 
	 * @author tanlp
	 */
	public static final class FMTable implements BaseColumns
	{
		// This class cannot be instantiated
		private FMTable()
		{
		}

		/**
		 * The content:// style URL for this table
		 */
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" + TABLE_FM);

		/**
		 * The MIME type of {@link #CONTENT_URI} providing a directory of notes.
		 */
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.google.note";

		/**
		 * The MIME type of a {@link #CONTENT_URI} sub-directory of a single
		 * note.
		 */
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.google.note";

		/**
		 * tune
		 * <P>
		 * Type: INTEGER
		 * </P>
		 */
		public static final String TUNE = "tune";

		/**
		 * title
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String TITLE = "title";

		/**
		 * alarm id
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String ALARM = "alarm_id";

		/**
		 * comment
		 * <P>
		 * Type: TEXT
		 * </P>
		 */
		public static final String COMMENT = "comment";

	}
}
